s = range(1,101)
a = sum(s)
sq = []
for x in s:
	sq.append(x**2)
a = a**2
b = sum(sq)

print(abs(b-a))